package com.mgrid.convert.clickhouse.controller;

import com.mgrid.convert.clickhouse.service.HistorysignalService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/click")
@RequiredArgsConstructor
public class clickHouseController {

    @Resource
    HistorysignalService historysignalService;

    @GetMapping("/list")
    public void list(){
        historysignalService.sqlConvert();
    }
}
